package dao;

import org.apache.ibatis.annotations.Param;
import pojo.Customer;
import pojo.SalesOrder;

import java.sql.Date;
import java.util.List;

public interface SalesOrderDao {
    SalesOrder queryOrder(int id);
    List<SalesOrder> queryAllOrder();
    int addOrder(SalesOrder salesOrder);
    int updateCustomer(Customer customer);
    int updateOrder(SalesOrder salesOrder);
    int deleteOrder(int id);
    List<SalesOrder> queryOrderByStartTime(@Param("s") String s,@Param("e")  String e);
    List<SalesOrder> queryOrderByEndTime(@Param("s") String s,@Param("e")  String e);

}
